import { createRouter, createWebHistory } from 'vue-router'


const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    
{ path:'/', name:"dafault",component:()=>import("../views/IncomeDetail.vue")},
// { path: '/manageUser',name:"ManageUser", 		component: ()=>import("../views/ManageUser.vue") },
// { path: '/incomeDetail',name:"IncomeDetail", 		component: ()=>import("../views/IncomeDetail.vue") },
// { path: '/expendDetail',name:"ExpendDetail", 		component: ()=>import("../views/ExpendDetail.vue") },
// { path: '/login',name:"Login", 		component: ()=>import("../views/login.vue") },
// { path: '/family',name:"Family", 		component: ()=>import("../views/Family.vue") },

  ]
})


export const routerImports = {
  "ManageUser": ()=>import("../views/ManageUser.vue"),
  "IncomeDetail":()=>import("../views/IncomeDetail.vue"),
  "Login":()=>import("../views/login.vue"),
  'ExpendDetail':()=>import("../views/ExpendDetail.vue"),
  'Family':()=>import("../views/Family.vue"),
  'InvestmentDetail':()=>import("../views/InvestmentDetail.vue"),
  'MyAsset':()=>import("../views/MyAsset.vue"),

};

export default router
